package cn.zzdt4j.config.model.biz.item;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * The type Item resp dto.
 *
 * @author by <a href="mailto:ligang941012@gmail.com">gang.Li</a>
 * @since 2023 /11/7 20:08
 */
@Data
public class ItemRespDTO {

    /**
     * ID
     */
    private Integer id;

    /**
     * Tenant id
     */
    private String tenantId;

    /**
     * Item id
     */
    private String itemId;

    /**
     * Item name
     */
    private String itemName;

    /**
     * Item desc
     */
    private String itemDesc;

    /**
     * Owner
     */
    private String owner;

    /**
     * Gmt create
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date gmtCreate;

    /**
     * Gmt modified
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date gmtModified;
}
